<template>
	<div>
		<el-card class="box-card">
		  <div slot="header" class="clearfix">
		    <h1>其它资料</h1>
		  </div>
		  <div  class="box">
			<el-button v-for="(item,index) in typeOptions" @click="clickDictData(item)">{{item.name}}
				<!-- <router-link :to="'/dict/type/data/' + item.id" class="link-type">
				  <span>{{ scope.row.type }}</span>
				</router-link> -->
			</el-button>
		  </div>
		</el-card>
		
		
	</div>
</template>

<script>
	import { listData, getData, delData, addData, updateData, exportData } from "@/api/system/dict/data";
	import { listAllSimple, getType } from "@/api/system/dict/type";
    export default {
    components: {
		
    },
    data() {
        return {
			typeOptions:[],
      
        };
    },
	created() {
	  this.getTypeList();
	},
    methods: {
     /** 查询字典类型列表 */
     getTypeList() {
       listAllSimple().then(response => {
         this.typeOptions = response.data.filter(item => [
			 2040,2039,2038,2037,2036,2035,2034,2033,2032,2031,2030,2029,2028,2027,2026,2025,2007,
			 2024,2023,2022,2021,2020,2019,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008].includes(item.id));
       });
     },
      clickDictData(row){
		  //@/views/team/information/dict/dictData
		   this.$router.push({ name: 'informationDictData', params: { dictId: row.id }})
	  }
    }
  };
</script>

<style scoped>

	.el-button {
	    FONT-WEIGHT: 200;
	    padding: 20px 40px;
	    width: 200px;
	    margin-bottom: 20px;
	    margin-right: 10px;
	    color: black;
	    font-weight: bolder;
		margin-left: 10px;
	}
</style>